package model;


public class AppInfo {
	private String name;
	private String version;
	private String author;
	private String description;
	private Repository repository;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Repository getRepository() {
		return repository;
	}
	public void setRepository(Repository repository) {
		this.repository = repository;
	}
	@Override
	public String toString() {
		return "AppInfo [name=" + name + ", version=" + version + ", author=" + author + ", description=" + description
				+ ", repository=" + repository.getType()+":"+repository.getUrl() + "]";
	}
	
	
}
